package com.boot.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单表(Orders)表实体类
 *
 * @author makejava
 * @since 2023-07-20 18:48:25
 */
@Data
@Accessors(chain = true)
public class Orders implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private String id;
    //用户id
    private Integer uId;
    //下单时间
    private Date oTime;
    //总计
    private BigDecimal total;
}

